package cn.tedu.system.product.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ProductVO {
    @ApiModelProperty(value = "商品id")
    private Long id;
    @ApiModelProperty(value = "商家id")
    private Long merchantId;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "商品描述")
    private String description;
    @ApiModelProperty(value = "商品价格")
    private Double price;
    @ApiModelProperty(value = "商品库存")
    private Integer stock;
    @ApiModelProperty(value = "商品单位")
    private String unit;
    @ApiModelProperty(value = "商品产地")
    private String origin;
    @ApiModelProperty(value = "是否助农商品")
    private String isAgriculture;
    @ApiModelProperty(value = "商品图片URL")
    private String imageUrls;
    @ApiModelProperty(value = "销量")
    private Integer sales;
    @ApiModelProperty(value = "状态")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
